# -*- coding:utf-8 -*-
import unittest
from newmovie import getnewmovie

class testNewMovie(unittest.TestCase):
    def testnewmovie20110709(self):
        result = getnewmovie()
        found = False
        for movie in result:
            if movie['name'] == "雪花秘扇":
                found = True
        self.assertEqual(found,True)

if __name__ == "__main__":
    unittest.main()
